package models

type OSPFType uint8

// OSPF is a basic OSPF packet header with common fields of Version 2 and Version 3.
type OSPF struct {
	Version      uint8       `json:"version,omitempty"`
	AuthType     uint16      `json:"type,omitempty"`
	PacketLength uint16      `json:"packet_length,omitempty"`
	RouterID     uint32      `json:"router_id,omitempty"`
	AreaID       uint32      `json:"area_id,omitempty"`
	Checksum     uint16      `json:"checksum,omitempty"`
	Content      interface{} `json:"content,omitempty"`
}
